Skip to content

Sync Ubuntu 26.04 support to release/1.3.x - #138

Merged
sgopinath1 merged 3 commits into
ROCm:release/1.3.xfrom
shiv-tyagi:ubuntu-26.04-support-1.3.x
Jul 29, 2026
Merged

Sync Ubuntu 26.04 support to release/1.3.x#138
sgopinath1 merged 3 commits into
ROCm:release/1.3.xfrom
shiv-tyagi:ubuntu-26.04-support-1.3.x

Conversation

@shiv-tyagi

Copy link
Copy Markdown
Member

Summary

Backports Ubuntu 26.04 (Resolute) support from main to the 1.3 release line. release/1.3.x currently has neither the build support nor the docs, so it cannot produce a 26.04 package even though 1.3.0~26.04 is already published on repo.radeon.com.

Three commits cherry-picked cleanly, no conflicts, original authorship preserved:

Commit Source Change
Add Ubuntu 26.04 (resolute) Debian package build support #134 Map UBUNTU_VERSION=resolute to 26.04; remove a pre-existing user occupying the requested UID in the build entrypoint
Guard UID lookup so build entrypoint works without a default UID 1000 user #134 `
Document Ubuntu 26.04 support for 1.3.0 #137 Supported OS list, 1.3.0 compatibility matrix row, README requirements

5 files, +13/-2.

Verification

  • Makefile and tools/deb/base-image/entrypoint.sh are byte-identical to main after the cherry-picks.
  • The three docs files are byte-identical to the Document Ubuntu 26.04 support for 1.3.0 #137 branch.
  • The underlying package was validated on a real MI308X (VFIO passthrough to an Ubuntu 26.04 guest, Docker 29.6.2): CDI generate/validate/list, CDI injection via --device amd.com/gpu and Docker 29 native --gpus, OCI runtime injection via --runtime=amd with AMD_VISIBLE_DEVICES running rocminfo/amd-smi, and GPU Tracker enable/alloc/exclusive-enforcement/auto-release/reset.

Test plan

  • make pkg-deb UBUNTU_VERSION=resolute produces a 26.04-tagged package on this branch.
  • make pkg-deb UBUNTU_VERSION=jammy and UBUNTU_VERSION=noble still build, confirming the entrypoint guard is a no-op there.
  • Compatibility matrix renders correctly in the built docs.

Note

Merge #137 into main first if you want main and release/1.3.x to stay consistent, since this PR carries that docs commit.

JWhitleyWork and others added 3 commits July 29, 2026 04:14
Map the UBUNTU_VERSION codename "resolute" to version number 26.04 so
`make pkg-deb UBUNTU_VERSION=resolute` produces a 26.04-tagged package,
alongside the existing jammy (22.04) and noble (24.04) targets.

The Ubuntu 26.04 base image ships a default non-root user occupying
UID 1000, which collides with the host UID the build entrypoint tries
to recreate. Detect and remove any pre-existing user holding the
requested UID before creating the build user. This is a no-op on
22.04/24.04 images, which have no such default user.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Ubuntu 26.04 (Resolute) packages are already published for 1.3.0 on
repo.radeon.com and install cleanly, but the docs still listed only
22.04 and 24.04.

Add 26.04 to the supported OS list, the 1.3.0 compatibility matrix row,
and the README requirements. Older matrix rows are left unchanged since
those releases were never built for 26.04.

No version bump is needed. 26.04 support came from the build matrix
addition in ROCm#134, not a code change.

@sgopinath1 sgopinath1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sgopinath1
sgopinath1 merged commit 1590d23 into ROCm:release/1.3.x Jul 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants